package so.ifl.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * 公司信息
 *create by aaron.lu
 *create at 2011-12-19 上午9:53:43
 *<mailto:atyuan.lu@gmail.com> 
 **/
public class CompanyVo implements Serializable {
	private static final long serialVersionUID = 3087041342239727466L;
	Integer companyId;          
	String companyBm;         
	String companyName;       
	String companyAddress;    
	String companyLinkman;    
	String companyContact;
	String companyTel;        
	String companyEmail;      
	Integer isDo;              
	Date companyActiveDate;
	Integer allowStudent;     
	String companyExt;        
	String companyAbridge;
	
	//mini
	public CompanyVo() {
		super();
	}

	//all
	public CompanyVo(String companyBm, String companyName,
			String companyAddress, String companyLinkman,
			String companyContact, String companyTel, String companyEmail,
			Integer isDo, Date companyActiveDate, Integer allowStudent,
			String companyExt, String companyAbridge) {
		super();
		this.companyBm = companyBm;
		this.companyName = companyName;
		this.companyAddress = companyAddress;
		this.companyLinkman = companyLinkman;
		this.companyContact = companyContact;
		this.companyTel = companyTel;
		this.companyEmail = companyEmail;
		this.isDo = isDo;
		this.companyActiveDate = companyActiveDate;
		this.allowStudent = allowStudent;
		this.companyExt = companyExt;
		this.companyAbridge = companyAbridge;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getCompanyBm() {
		return companyBm;
	}

	public void setCompanyBm(String companyBm) {
		this.companyBm = companyBm;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyAddress() {
		return companyAddress;
	}

	public void setCompanyAddress(String companyAddress) {
		this.companyAddress = companyAddress;
	}

	public String getCompanyLinkman() {
		return companyLinkman;
	}

	public void setCompanyLinkman(String companyLinkman) {
		this.companyLinkman = companyLinkman;
	}

	public String getCompanyContact() {
		return companyContact;
	}

	public void setCompanyContact(String companyContact) {
		this.companyContact = companyContact;
	}

	public String getCompanyTel() {
		return companyTel;
	}

	public void setCompanyTel(String companyTel) {
		this.companyTel = companyTel;
	}

	public String getCompanyEmail() {
		return companyEmail;
	}

	public void setCompanyEmail(String companyEmail) {
		this.companyEmail = companyEmail;
	}

	public Integer getIsDo() {
		return isDo;
	}

	public void setIsDo(Integer isDo) {
		this.isDo = isDo;
	}

	public Date getCompanyActiveDate() {
		return companyActiveDate;
	}

	public void setCompanyActiveDate(Date companyActiveDate) {
		this.companyActiveDate = companyActiveDate;
	}

	public Integer getAllowStudent() {
		return allowStudent;
	}

	public void setAllowStudent(Integer allowStudent) {
		this.allowStudent = allowStudent;
	}

	public String getCompanyExt() {
		return companyExt;
	}

	public void setCompanyExt(String companyExt) {
		this.companyExt = companyExt;
	}

	public String getCompanyAbridge() {
		return companyAbridge;
	}

	public void setCompanyAbridge(String companyAbridge) {
		this.companyAbridge = companyAbridge;
	}
	
	@Override
	public String toString() {
		StringBuffer s = new StringBuffer();
		
		s.append("{company_id:" + companyId);
		s.append(",company_bm_:" + companyBm);
		s.append(",company_name_:" + companyName);
		s.append(",company_address_:" + companyAddress);
		s.append(",company_linkman_:" + companyLinkman);
		s.append(",company_contact_:" + companyContact);
		s.append(",company_tel_:" + companyTel);
		s.append(",company_email_:" + companyEmail);
		s.append(",is_do_:" + isDo);
		s.append(",company_active_date_:" + companyActiveDate);
		s.append(",allow_studuent_:" + allowStudent);
		s.append(",company_ext_:" + companyExt);
		s.append(",company_abridge_:" + companyAbridge + "}");
		
		
		/**
		 *create by aaron.lu
		 *create at 2011-12-19 上午10:13:13
		 *<mailto> atyuan.lu@gmail.com
		**/
		return s.toString();
	}
	

}
